﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using EntityLayer0;

namespace Bu_layer
{
    public class AccountManagerClient
    {
        public RecorderInfo[] RecorderInfo()
        { 
            List<RecorderInfo> recorderList = new List<RecorderInfo>();
            RecorderInfo recorder = new RecorderInfo();
            recorder.DeviceId = 1;
            recorder.Serial = "12345";
            recorder.Name = "Pietje";
            recorderList.Add(recorder);
            return recorderList.ToArray();
        }

        public FileDataInfoBase[] FileDataInfoBase()
        { 
            List<FileDataInfoBase> fileDataInfoBaseList = new List<FileDataInfoBase>();
            FileDataInfoBase fileDataInfoBase = new FileDataInfoBase();
            fileDataInfoBase.FileName = "File1";
            fileDataInfoBase.FileId = 1;
            fileDataInfoBase.FileFormat = FileFormat.PDF;
            fileDataInfoBase.FileSize = 2;
            fileDataInfoBaseList.Add(fileDataInfoBase);
            return fileDataInfoBaseList.ToArray();
        }
    }
}
